package edu.sctu.practice.class01.nieyu.test.test02;

/**
 * Created by Administrator on 2015/10/14.
 */
public class Client {
    public static void main(String[] args) {

        MyTime time = new MyTime(12, 23, 18);

        System.out.println("现在的时间是：");
        time.display();

        time.addHour(2);
        time.addMinute(3);
        time.addSecond(15);
        System.out.println("增加后的时间是：");
        time.display();

        time.subHour(5);
        time.subMinute(13);
        time.subSecond(12);
        System.out.println("减去后的时间是：");
        time.display();

    }
}
